<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>"  />
<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> latest post RSS" href="<?php echo itx_get_option('links','rss') ?>" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> latest comment RSS" href="<?php echo itx_get_option('links','crss') ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory')?>/css/ie6.css">
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory')?>/css/ie7.css">
<![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('url');?>/?itx=css<?php itx_preview_vars();?>" type="text/css" />
<?php
    if (is_singular()) wp_enqueue_script( 'comment-reply' );
    if (is_active_widget(false,false,'itx_tabbed_sidebar')||!itx_active_sidebar(1)) wp_enqueue_script('jquery-ui-tabs');
    wp_enqueue_script('jquery-color');
    wp_head();
?>
<script type="text/javascript" src="<?php bloginfo('url')?>/?itx=js<?php itx_preview_vars();?>"></script>
</head>
<body <?php body_class(); ?>>
    <div class="wrap">
    <?php extract(itx_get_option('links'))?>
    <div id="links">
            <?php if ($twitter): ?>
            <a href="http://twitter.com/<?php echo $twitter ?>" rel="nofollow">
                <img src="<?php bloginfo('template_directory'); ?>/images/twitter.gif" alt ="my twitter" title="Follow our twitter" />
            </a>
            <?php endif;?>
             <?php if ($facebook): ?>
            <a href="http://www.facebook.com/<?php echo $facebook ?>" rel="nofollow">
                <img src="<?php bloginfo('template_directory'); ?>/images/facebook.gif" alt ="my facebook" title="Follow our facebook" />
            </a>
            <?php endif;?>
             <?php if ($plurk): ?>
            <a href="http://www.plurk.com/<?php echo $plurk ?>" rel="nofollow">
                <img src="<?php bloginfo('template_directory'); ?>/images/plurk.gif" alt ="my plurk" title="Follow our plurk" />
            </a>
            <?php endif;?>
            <a href="<?php echo itx_get_option('links','rss') ?>">
                <img src="<?php bloginfo('template_directory'); ?>/images/rss.gif" alt="<?php bloginfo('name'); ?>" title="Follow our RSS" />
            </a>
    </div>
    </div>
	<?php itx_header();?>
    <div id="menu">
	<div class="wrap"><?php calotropis_menu('menu_class=sf-menu&theme_location=primary');?></div>
    </div>
<div id="on" class="sidebaron"></div><div id="off" class="sidebaroff"></div>
<div class="clear"></div>